<div class="sp-wrap">
    <div class="sp-inner">
        <ul class="sp-menu level-0">
            <li class="menu-item <?php if(!$frame || $frame == ''){?>active<?php } ?> first">
                <a href="<?=$curHost?>" class="menu-item first" >
                    <span class="menu"><span class="menu-title">Trang chủ</span></span>
                </a>
            </li>
            <li class="menu-item <?php if($frame == 'gioi_thieu'){?>active<?php } ?>">
                <a href="<?=$curHost?>gioi-thieu" class="menu-item" rel="nofollow">
                    <span class="menu"><span class="menu-title">Giới thiệu</span></span>
                </a>
            </li>
            <li class="menu-item <?php if($frame == 'dich-vu'){?>active<?php } ?>">
                <a href="<?=$curHost?>dich-vu" class="menu-item">
                    <span class="menu"><span class="menu-title">Dịch vụ chính</span></span>
                </a>
                <div class="submenu">
                    <div class="submenu-wrap">
                        <div class="menu-tl"><div class="menu-tr"><div class="menu-tm"></div></div></div>
                        <div class="menu-l">
                            <div class="menu-r">
                                <div class="submenu-inner clearfix" style="width: 250px;">
                                    <div class="megacol col1 first" style="width: 250px;">
                                        <ul class="sp-menu level-1">
                                            <li class="menu-item first parent">
                                                <a href="<?=$curHost?>dich-vu/thiet-ke-web" class="menu-item first parent" >
                                                    <span class="menu"><span class="menu-title">Thiết kế website</span></span>
                                                </a>
                                                <div class="submenu">
                                                    <div class="submenu-wrap">
                                                        <div class="menu-tl"><div class="menu-tr"><div class="menu-tm"></div></div></div>
                                                        <div class="menu-l">
                                                            <div class="menu-r">
                                                                <div class="submenu-inner clearfix" style="width: 250px;">
                                                                    <div class="megacol col1 first" style="width: 250px;">
                                                                        <ul class="sp-menu level-2">
                                                                            <li class="menu-item first">
                                                                                <a href="<?=$curHost?>dich-vu/thiet-ke-web/web-bat-dong-san" class="menu-item first" >
                                                                                    <span class="menu"><span class="menu-title">Website bất động sản</span></span>
                                                                                </a>
                                                                            </li>
                                                                            <li class="menu-item">
                                                                                <a href="<?=$curHost?>dich-vu/thiet-ke-web/web-nha-hang-khach-san" class="menu-item" >
                                                                                    <span class="menu"><span class="menu-title">Website nhà hàng khách sạn</span></span>
                                                                                </a>
                                                                            </li>
                                                                            <li class="menu-item">
                                                                                <a href="<?=$curHost?>dich-vu/thiet-ke-web/web-dich-vu-du-lich" class="menu-item" >
                                                                                    <span class="menu"><span class="menu-title">Website dịch vụ du lịch</span></span>
                                                                                </a>
                                                                            </li>
                                                                            <li class="menu-item">
                                                                                <a href="<?=$curHost?>dich-vu/thiet-ke-web/web-to-chuc-doanh-nghiep" class="menu-item" >
                                                                                    <span class="menu"><span class="menu-title">Website tổ chức doanh nghiệp</span></span>
                                                                                </a>
                                                                            </li>
                                                                            <li class="menu-item">
                                                                                <a href="<?=$curHost?>dich-vu/thiet-ke-web/web-thuong-mai-dien-tu" class="menu-item" >
                                                                                    <span class="menu"><span class="menu-title">Website thương mại điện tử</span></span>
                                                                                </a>
                                                                            </li>
                                                                            <li class="menu-item last">
                                                                                <a href="<?=$curHost?>dich-vu/thiet-ke-web/web-giao-duc" class="menu-item last" >
                                                                                    <span class="menu"><span class="menu-title">Website trường học, giáo dục</span></span>
                                                                                </a>
                                                                            </li>
                                                                            <li class="menu-item last">
                                                                                <a href="<?=$curHost?>dich-vu/thiet-ke-web/web-tin-tuc" class="menu-item last" >
                                                                                    <span class="menu"><span class="menu-title">Website tin tức</span></span>
                                                                                </a>
                                                                            </li>
                                                                        </ul>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="menu-bl"><div class="menu-br"><div class="menu-bm"></div></div></div>
                                                    </div>
                                                </div>
                                            </li>
                                            <li class="menu-item parent">
                                                <a href="<?=$curHost?>dich-vu/thiet-ke-quang-cao" class="menu-item parent" >
                                                    <span class="menu"><span class="menu-title">Thiết kế quảng cáo và In ấn</span></span>
                                                </a>
                                                <div class="submenu">
                                                    <div class="submenu-wrap">
                                                        <div class="menu-tl"><div class="menu-tr"><div class="menu-tm"></div></div></div>
                                                        <div class="menu-l">
                                                            <div class="menu-r">
                                                                <div class="submenu-inner clearfix" style="width: 250px;">
                                                                    <div class="megacol col1 first" style="width: 250px;">
                                                                        <ul class="sp-menu level-2">
                                                                            <li class="menu-item first">
                                                                                <a href="<?=$curHost?>dich-vu/thiet-ke-quang-cao/quang-cao" class="menu-item first" >
                                                                                    <span class="menu"><span class="menu-title">Thiết kế quảng cáo</span></span>
                                                                                </a>
                                                                            </li>
                                                                            <li class="menu-item first">
                                                                                <a href="<?=$curHost?>dich-vu/thiet-ke-quang-cao/in-an" class="menu-item first" >
                                                                                    <span class="menu"><span class="menu-title">Dịch vụ in ấn</span></span>
                                                                                </a>
                                                                            </li>
                                                                        </ul>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="menu-bl"><div class="menu-br"><div class="menu-bm"></div></div></div>
                                                    </div>
                                                </div>
                                            </li>
                                            <li class="menu-item parent">
                                                <a href="<?=$curHost?>dich-vu/seo-sem" class="menu-item parent" >
                                                    <span class="menu"><span class="menu-title">Tư vấn và Dịch vụ SEO - SEM</span></span>
                                                </a>
                                                <div class="submenu">
                                                    <div class="submenu-wrap">
                                                        <div class="menu-tl"><div class="menu-tr"><div class="menu-tm"></div></div></div>
                                                        <div class="menu-l">
                                                            <div class="menu-r">
                                                                <div class="submenu-inner clearfix" style="width: 250px;">
                                                                    <div class="megacol col1 first" style="width: 250px;">
                                                                        <ul class="sp-menu level-2">
                                                                            <li class="menu-item first">
                                                                                <a href="<?=$curHost?>dich-vu/seo-sem/tu-van" class="menu-item first" >
                                                                                    <span class="menu"><span class="menu-title">Tư vấn SEO - SEM</span></span>
                                                                                </a>
                                                                            </li>
                                                                            <li class="menu-item first">
                                                                                <a href="<?=$curHost?>dich-vu/seo-sem/dich-vu-seo" class="menu-item first" >
                                                                                    <span class="menu"><span class="menu-title">Dịch vụ SEO</span></span>
                                                                                </a>
                                                                            </li>
                                                                            <li class="menu-item first">
                                                                                <a href="<?=$curHost?>dich-vu/seo-sem/dich-vu-sem" class="menu-item first" >
                                                                                    <span class="menu"><span class="menu-title">Dịch vụ SEM</span></span>
                                                                                </a>
                                                                            </li>
                                                                        </ul>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="menu-bl"><div class="menu-br"><div class="menu-bm"></div></div></div>
                                                    </div>
                                                </div>
                                            </li>
                                            <!--
                                            <li class="menu-item parent">
                                                <a href="<?=$curHost?>dich-vu/giai-phap-phan-mem" class="menu-item parent" >
                                                    <span class="menu"><span class="menu-title">Giải pháp phần mềm</span></span>
                                                </a>
                                                <div class="submenu">
                                                    <div class="submenu-wrap">
                                                        <div class="menu-tl"><div class="menu-tr"><div class="menu-tm"></div></div></div>
                                                        <div class="menu-l">
                                                            <div class="menu-r">
                                                                <div class="submenu-inner clearfix" style="width: 250px;">
                                                                    <div class="megacol col1 first" style="width: 250px;">
                                                                        <ul class="sp-menu level-2">
                                                                            <li class="menu-item first">
                                                                                <a href="<?=$curHost?>dich-vu/giai-phap-phan-mem/web-dich-vu" class="menu-item first" >
                                                                                    <span class="menu"><span class="menu-title">Web dịch vụ</span></span>
                                                                                </a>
                                                                            </li>
                                                                            <li class="menu-item">
                                                                                <a href="<?=$curHost?>dich-vu/giai-phap-phan-mem/web-ung-dung" class="menu-item" >
                                                                                    <span class="menu"><span class="menu-title">Web ứng dụng</span></span>
                                                                                </a>
                                                                            </li>
                                                                            <li class="menu-item">
                                                                                <a href="<?=$curHost?>dich-vu/giai-phap-phan-mem/dien-toan-dam-may" class="menu-item" >
                                                                                    <span class="menu"><span class="menu-title">Ứng dụng điện toán đám mây</span></span>
                                                                                </a>
                                                                            </li>
                                                                        </ul>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="menu-bl"><div class="menu-br"><div class="menu-bm"></div></div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </li>
                                            <li class="menu-item parent">
                                                <a href="<?=$curHost?>dich-vu/xay-dung-thuong-hieu" class="menu-item parent" >
                                                    <span class="menu"><span class="menu-title">Xây dựng thương hiệu</span></span>
                                                </a>
                                                <div class="submenu">
                                                    <div class="submenu-wrap">
                                                        <div class="menu-tl"><div class="menu-tr"><div class="menu-tm"></div></div></div>
                                                        <div class="menu-l">
                                                            <div class="menu-r">
                                                                <div class="submenu-inner clearfix" style="width: 250px;">
                                                                    <div class="megacol col1 first" style="width: 250px;">
                                                                        <ul class="sp-menu level-2">
                                                                            <li class="menu-item first">
                                                                                <a href="<?=$curHost?>dich-vu/xay-dung-thuong-hieu/nhan-dang-thuong-hieu" class="menu-item first" >
                                                                                    <span class="menu"><span class="menu-title">Bộ nhận dạng thương hiệu</span></span>
                                                                                </a>
                                                                            </li>
                                                                            <li class="menu-item first">
                                                                                <a href="<?=$curHost?>dich-vu/xay-dung-thuong-hieu/marketing-online" class="menu-item first" >
                                                                                    <span class="menu"><span class="menu-title">Dịch vụ marketing</span></span>
                                                                                </a>
                                                                            </li>
                                                                        </ul>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="menu-bl"><div class="menu-br"><div class="menu-bm"></div></div></div>
                                                    </div>
                                                </div>
                                            </li>
                                            <li class="menu-item last parent">
                                                <a href="<?=$curHost?>dich-vu/domain-hosting-server" class="menu-item last parent" >
                                                    <span class="menu"><span class="menu-title">Domain - Server - Hosting</span></span>
                                                </a>
                                                <div class="submenu">
                                                    <div class="submenu-wrap">
                                                        <div class="menu-tl"><div class="menu-tr"><div class="menu-tm"></div></div></div>
                                                        <div class="menu-l">
                                                            <div class="menu-r">
                                                                <div class="submenu-inner clearfix" style="width: 250px;">
                                                                    <div class="megacol col1 first" style="width: 250px;">
                                                                        <ul class="sp-menu level-2">
                                                                            <li class="menu-item first">
                                                                                <a href="<?=$curHost?>dich-vu/domain-hosting-server/domain" class="menu-item first" >
                                                                                    <span class="menu"><span class="menu-title">Đăng ký tên miền</span></span>
                                                                                </a>
                                                                            </li>
                                                                            <li class="menu-item">
                                                                                <a href="<?=$curHost?>dich-vu/domain-hosting-server/server" class="menu-item" >
                                                                                    <span class="menu"><span class="menu-title">Thuê server - VPS</span></span>
                                                                                </a>
                                                                            </li>
                                                                            <li class="menu-item last">
                                                                                <a href="<?=$curHost?>dich-vu/domain-hosting-server/hosting" class="menu-item last" >
                                                                                    <span class="menu"><span class="menu-title">Thuê hosting</span></span>
                                                                                </a>
                                                                            </li>
                                                                        </ul>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="menu-bl"><div class="menu-br"><div class="menu-bm"></div></div></div>
                                                    </div>
                                                </div>
                                            </li>
                                            -->
                                        </ul>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="menu-bl"><div class="menu-br"><div class="menu-bm"></div></div></div>
                    </div>
                </div>
            </li>
            <!--
            <li class="menu-item <?php if($frame == 'tin-tuc'){?>active<?php } ?>">
                <a href="<?=$curHost?>tin-tuc" class="menu-item">
                    <span class="menu"><span class="menu-title">Tin tức</span></span>
                </a>
                <div class="submenu">
                    <div class="submenu-wrap">
                        <div class="menu-tl"><div class="menu-tr"><div class="menu-tm"></div></div></div>
                        <div class="menu-l">
                            <div class="menu-r">
                                <div class="submenu-inner clearfix" style="width: 250px;">
                                    <div class="megacol col1 first" style="width: 250px;">
                                        <ul class="sp-menu level-1">
                                            <li class="menu-item first">
                                                <a href="http://haytuyet.net" class="menu-item first" target="_blank">
                                                    <span class="menu"><span class="menu-title">Trang tin tức hàng ngày</span></span>
                                                </a>                                                
                                            </li>
                                            <li class="menu-item">
                                                <a href="<?=$curHost?>tin-tuc/khuyen-mai" class="menu-item" >
                                                    <span class="menu"><span class="menu-title">Tin khuyến mại</span></span>
                                                </a>                                                
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="menu-bl"><div class="menu-br"><div class="menu-bm"></div></div></div>
                    </div>
                </div>            
            </li>
            -->
            <li class="menu-item">
                <a href="http://ckvic.com" class="menu-item" target="_blank">
                    <span class="menu"><span class="menu-title">Các dự án</span></span>
                </a>
            </li>
            <li class="menu-item <?php if($frame == 'bao_hanh'){?>active<?php } ?>">
                <a href="<?=$curHost?>bao-hanh" class="menu-item" rel="nofollow">
                    <span class="menu"><span class="menu-title">Chế độ bảo hành</span></span>
                </a>                          
            </li>
            <li class="menu-item last <?php if($frame == 'lien_he'){?>active<?php } ?>">
                <a href="<?=$curHost?>lien-he" class="menu-item last" rel="nofollow">
                    <span class="menu"><span class="menu-title">Liên hệ</span></span>
                </a>
            </li>
        </ul>
        <div id="sp-share" class="clearfix">
            <div class="sp-inner clearfix">
                <div class="custom"  >
                    <div>
                        <a href="#"><img class="share_img" src="images/social/google_color.png" border="0" alt="" /></a> 
                        <a href="#"><img class="share_img" src="images/social/rss.png" border="0" alt="" /></a>
                        <a href="#"><img class="share_img" src="images/social/skype.png" border="0" alt="" /></a> 
                        <a href="#"><img class="share_img" src="images/social/twitter2.png" border="0" alt="" /></a> 
                        <a href="#"><img class="share_img" src="images/social/digg.png" border="0" alt="" /></a> 
                        <a href="#"><img class="share_img" src="images/social/facebook.png" border="0" alt="" /></a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
    //<![CDATA[
    window.addEvent('domready',function(){
        var	limits = $(document.body);
        items_v = [], items_h = [];

        $$('div.submenu').each(function (el) {
            if (el.getParent().getParent().hasClass('level-0')) {
                items_v.push(el);
            } else {
                items_h.push(el);
            }
        });

        new SPMenu(items_v, {
            direction: 'LTR',
            bound: limits,
            fxOptions: {
                transition: Fx.Transitions.linear,
                duration: 300			},
            animation: 'slidefade',
            mode: 'vertical',
            offset:{x:0, y: 0}
        });

        new SPMenu(items_h, {
            direction: 'LTR',
            bound: limits,
            fxOptions: {
                transition: Fx.Transitions.linear,
                duration: 300			},
            animation: 'slidefade',
            mode: 'horizontal',
            offset: {x: 0, y: 0}
        });
    });
    //]]>
</script>	
